<template>
	<!-- 总容器 -->
	    <div class="wrapper">
	        <header>
	            <i class="fa fa-angle-left" onclick="history.go(-1)"></i>
	            <p>我的预约</p>
	            <div></div>
	        </header>
	        <div class="top-ban"></div>
	
	        <ul>
	            <li>
	                <div class="left">
	                    <p>2022-03-22</p>
	                    <p>普通男士客户-基础套餐</p>
	                </div>
	                <div class="right" @click="$router.push('/appointmentcancel')">
	                    取消预约
	                </div>
	            </li>
	            <li>
	                <div class="left">
	                    <p>2021-11-22</p>
	                    <p>普通男士客户-脑血管系统</p>
	                </div>
	            </li>
	        </ul>
	
	        <div class="bottom-ban"></div>
	        <footer>
	            <ul>
	                <li onclick="location.href='index.html'">
	                    <i class="fa fa-home"></i>
	                    <p>云医院</p>
	                </li>
	                <li>
	                    <i class="fa fa-opencart"></i>
	                    <p>商城</p>
	                </li>
	                <li>
	                    <i class="fa fa-compass"></i>
	                    <p>发现</p>
	                </li>
	                <li onclick="location.href='personal.html'">
	                    <i class="fa fa-user"></i>
	                    <p>我</p>
	                </li>
	            </ul>
	        </footer>
	    </div>
</template>

<script>
</script>

<style scoped>
.wrapper{
    width: 100%;
    height: 100%;
    background-color: #F9F9F9;
}


header{
    width: 100%;
    height: 15.7vw;
    background-color: #FFF;

    position: fixed;
    left: 0;
    top: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
    padding: 0 3.6vw;
}
header .fa{
    font-size: 8vw;
}


footer{
    width: 100%;
    height: 14.2vw;
    box-sizing: border-box;
    border-top: solid 1px #E9E9E9;
    background-color: #FFF;

    position: fixed;
    left: 0;
    bottom: 0;
}
footer ul{
    width: 100%;
    height: 14.2vw;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
footer ul li{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-size: 3vw;
    color: #999;

    user-select: none;
    cursor: pointer;
}
footer ul li .fa{
    font-size: 5vw;
}


.top-ban{
    width: 100%;
    height: 15.7vw;
}
.bottom-ban{
    width: 100%;
    height: 14.2vw;
}


ul{
    width: 86vw;
    margin: 0 auto;
}
ul li{
    width: 100%;
    height: 14vw;
    border-bottom: solid 1px #EEE;

    display: flex;
    justify-content: space-between;
    align-items: center;
}
ul li .left{
    user-select: none;
    cursor: pointer;
}
ul li .left p:first-child{
    color: #555;
    font-size: 3.3vw;
}
ul li .left p:last-child{
    color: #333;
    font-size: 4.2vw;
    font-weight: 600;
}
ul li .right{
    font-size: 4vw;
    color: #E6A23C;
}
</style>